import request from '@/utils/request'
import {onMounted} from "vue";
import {FindAllCourse} from "@/api/course";

//查询个人信息
export const GetOwnerScoreListByPage = (pageNum, pageSize, queryDto) => {
    return request({
        url: '/admin/educational/grade/findOwnerScoreListByPage/' + pageNum + '/' + pageSize,
        method: 'get',
        params: queryDto
    })
}


// 分页查询
export const GetGradeListByPage = (pageNum, pageSize, queryDto) => {
    return request({
        url: '/admin/educational/grade/findByPage/' + pageNum + '/' + pageSize,
        method: 'get',
        params: queryDto,
    })
}

export const GetCharData = (courseId) => {
    return request({
        url: '/admin/educational/grade/getCharData/' + courseId,
        method: 'get',
    })
}

